$(document).ready(function()
{
	var form=$('#Form_Search_Exhibition');
	
	var year=$('#Form_Search_Exhibition_Yeah');
	var month=$('#Form_Search_Exhibition_Month');
	var place=$('#Form_Search_Exhibition_Place');		

	form.submit(function()
	{
		if(year.val()==''&&month.val()==''&&place.val()=='')
		{
			year.focus();
			return false;
		}
		
		var url='/exec.php?action=exhibition_infos_list&type=search';
		
		if(year.val()!=''){
			url+=('&year='+encodeURI(year.val()));
		}
		
		if(month.val()!=''){
			url+=('&month='+encodeURI(month.val()));
		}
		
		if(place.val()!=''){
			url+=('&place='+encodeURI(place.val()));
		}		

		window.location=url;
		return false;
	});
});